package com.design.proxy.calc;

public class ProxyDemo {
    public static void main(String[] args) {
        Calculator calculator = new CalculatorProxy();

        int result1 = calculator.add(10, 5);
        System.out.println("Result 1: " + result1);

        int result2 = calculator.subtract(20, 8);
        System.out.println("Result 2: " + result2);
    }
}
